package ll;

public class Employee {
    private String employeeId;        // 员工编号
    private String name;              // 姓名
    private double baseSalary;        // 基本工资
    private double performanceBonus;  // 绩效奖金
    private double socialInsurance;   // 社保扣除额
    private int attendanceDays;       // 当月出勤天数

    // 构造方法
    public Employee(String employeeId, String name, double baseSalary,
                    double performanceBonus, double socialInsurance) {
        this.employeeId = employeeId;
        this.name = name;
        this.baseSalary = baseSalary;
        this.performanceBonus = performanceBonus;
        this.socialInsurance = socialInsurance;
    }

    // Getter & Setter
    public String getEmployeeId() { return employeeId; }
    public String getName() { return name; }
    public double getBaseSalary() { return baseSalary; }
    public double getPerformanceBonus() { return performanceBonus; }
    public double getSocialInsurance() { return socialInsurance; }
    public int getAttendanceDays() { return attendanceDays; }
    public void setAttendanceDays(int attendanceDays) { this.attendanceDays = attendanceDays; }
}
